﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Activation.aspx.cs" Inherits="Web.Activation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
        <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/module.js" type="text/javascript"></script>
    <script src="js/boxy/javascripts/jquery.boxy.js" type="text/javascript"></script>
    <link href="js/boxy/stylesheets/boxy.css" rel="stylesheet" type="text/css" />
    <title>教师激活</title>
</head>
<body>
<div id="header"><div id="headerBody"><h1 class="logo"><img src="images/logo.jpg" alt="海淀小学题库管理平台" /></h1></div></div>
<div id='reg'>
    <form id="form1" runat="server">
    <div id='block'>
    <h3 id="blocktitle">激活信息</h3>
    <div id="blockcontent">
    <div class="formdiv"><label for="Name">真实姓名：</label><asp:TextBox ID="Name" runat="server" Width="100px"></asp:TextBox></div>
    <div class="formdiv"><label for="IdCard">身份证：</label><asp:TextBox ID="IdCard" runat="server" Width="200px"></asp:TextBox></div>
    <div class="formdiv"><label for="Tel">联系电话：</label><asp:TextBox ID="Tel" runat="server" Width="200px"></asp:TextBox></div>

    </div>
    <h3 id="blocktitle">账号信息</h3>
    <div id="blockcontent">
    <div class="formdiv"><label for="Email">Email：</label><asp:TextBox ID="Email" 
            runat="server"  Width="150px"></asp:TextBox></div>
    <div class="formdiv"><label for="Password">用户密码：</label><asp:TextBox ID="Password" runat="server"  TextMode="Password" Width="150px"></asp:TextBox></div>
    <div class="formdiv"><label for="RePassword">确认密码：</label><asp:TextBox ID="RePassword" 
            runat="server" TextMode="Password" Width="150px"></asp:TextBox></div>
    </div>
    <div id="blockfloor"><input
                id="Button1" type="button"value="激活" /><input
            id="ActivationGo" type="button" runat="server" value="button" onserverclick="Button1_Click" style="display: none; visibility: hidden;" /></div>
    </div>
    </form>
</div>
<div id="floor">Copyright 2009&nbsp;&nbsp;&nbsp;&nbsp;技术支持：中鸿网略信息技术有限公司&nbsp;&nbsp;&nbsp;&nbsp;版本：V2009.11</div>
<script type="text/javascript" language="javascript">
$("#Button1").click(function(){
    if($("#Name").val()=="")
    {
        Boxy.alert("请填写真实姓名");
    }
    else
    {
        ShowIframe("UserAgreement.aspx?username="+$("#Name").val()+"","激活协议",500,500);
    }
});
function Go()
{
    $("#ActivationGo").trigger("click"); 
}
</script>
</body>
</html>
